home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interactive Media Design Review 1999
/
Interactive Media Design Review 1999.iso
/
pc
/
Demos
/
Bombardier_PC
/
BSCRIPTS.CST
/
00060_Script_system
< prev
next >
Wrap
Text File
|
1999-04-25
|
2KB
|
70 lines
-- ⌐ 1998 @radical.media, inc. & Concurrent New Media Group, L.L.C.
-- Developed for Bombardier, Inc.
--
-- All programming developed by:
-- Robert Fabricant, Valerie Valoueva, Ossi Shaked,
-- Henry Sauvageot, Chris Howell & Chris Girand
--
-- Use of this code by parties other than @radical.media, inc. or their
--agents
-- without the express written consent of @radical.media, inc. AND Concurrent
-- New Media Group, L.L.C. is strictly prohibited.
------------------------------------------------------
-------*This script is not used in this version of the movie*----------
property sprt
on getPropertyDescriptionList
set description=[:]
addProp description,#sprt,[#default:"",#format:#integer, ¼
#comment:"The sprite number of menu item 1(has to be a puppetsprite)"]
return description
end
on getbehaviorDescription
return "system behaviour"
end
on mouseEnter me
global gSub
if gSub <> the spritenum of me then
set the castnum of sprite the spritenum of me to the castnum of sprite the spritenum of me +1
updatestage
end if
end
on mouseleave me
global gSub
if gSub <> the spritenum of me then
set the castnum of sprite the spritenum of me to the castnum of sprite the spritenum of me -1
updatestage
end if
end
on mouseup me
global gFcast,gSub
sound stop(1)
sound stop(2)
updatestage
puppetsound 3,"mousedn"
if gSub <>the spritenum of me and gsub<>"" then
set the castnum of sprite gSub to the castnum of sprite gSub-2
end if
updatestage
if gSub <> the spritenum of me then
set the castnum of sprite the spritenum of me to the castnum of sprite the spritenum of me +1
updatestage
end if
set offset = the spritenum of me - sprt +1
set the castnum of sprite 2 = gFcast + offset
set gSub = the spritenum of me
end